.my-button {
  --top: 0;
  --left: 0;
  position: relative;
  cursor: pointer;
  border: none;
  background-image: linear-gradient(90deg, #755bea, #ff72c0);
  // padding: 12px 36px;
  // border-radius: 40px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.1rem;
  user-select: none;
  overflow: hidden;
  display: inline-block;
  transition: opacity 0.2s linear;
  will-change: opacity;
  white-space: nowrap;
  text-align: center;
  flex-shrink: 0;

  &:focus {
    opacity: 0.8;
  }
}

.hover::after {
  content: '';
  position: absolute;
  animation: spread 0.8s linear both;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  top: var(--top);
  left: var(--left);
  background-color: #fff;
  z-index: 10;
}




@keyframes spread {
  from {
    width: 0px;
    height: 0px;
    opacity: 0.5;
  }

  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}